package com.wxm.pattern.factorymethod;

import com.wxm.pattern.IAnimal;
import com.wxm.pattern.Pig;

public class PigFactory implements IAnimalFactory{
    @Override
    public IAnimal getAnimal() {
        return new Pig();
    }
}
